<script setup lang="ts">
import mittBus, {MittBusKeys} from '@/mittBus'
import { useAppStore } from '@/store/app';
/** 事件处理，当用户改变时处理与用户改变相关路由状态 */
mittBus.on(MittBusKeys.userChange, () => {
    console.log(`mittBus on ${MittBusKeys.userChange}`)
})

const appStore = useAppStore()
</script>

<template>
    <span>HomeIndex</span>
</template>